<template>
  <!-- <div class="navbar-wrapper"> -->
    <!-- container -->
    <div class="container">
      <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <a class="navbar-brand" href="#">
          <img src="/image/logo.png" alt="" width="26" height="26" class="imageImg imgRadius">
          <span class="textZhwy">沾化智慧物业</span>
        </a>
        <!-- 导航，路由  -->
        <!-- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
          <ul class="navbar-nav mr-auto">
            <li class="nav-item active">
              <a class="nav-link active" @click="pushHome()">首页</a>
            </li>
            <li class="nav-item">
              <a class="nav-link active" @click="pushabout()">关于</a>
            </li>
          </ul>
        </div> -->
      </nav>
    </div>
  <!-- </div> -->
</template>

<script lang='ts' setup>

import { useRouter } from 'vue-router';

const router = useRouter()

const pushHome = () =>{
  router.push('/')
}
const pushabout = () =>{
  router.push('/about')
}


</script>

<style lang="less" scoped>
.imageImg{
  height: 40px;
  width: 40px;
  // display: inline-block;
  // height: auto;
  // max-width: 100%;
}
.imgRadius{
  border-radius: 5px;
}
.textZhwy{
  // font-size: 1.3vw;
  margin:  0 0 0 10px;
  font-size: 15px;
}
@media (min-width: 420px){
  .textZhwy{font-size:18px;}
}
</style>
